package com.molichuxing.services.infrastructure.dao;

import com.molichuxing.services.infrastructure.bean.CarsMileageWarnEnterpriseBean;
import com.molichuxing.services.infrastructure.dto.response.CarsMileageWarnEnterpriseResDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface CarsMileageWarnEnterpriseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CarsMileageWarnEnterpriseBean record);

    int insertSelective(CarsMileageWarnEnterpriseBean record);

    CarsMileageWarnEnterpriseBean selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CarsMileageWarnEnterpriseBean record);

    int updateByPrimaryKey(CarsMileageWarnEnterpriseBean record);

    List<CarsMileageWarnEnterpriseResDto> listCarsMileageWarnEnterprise(@Param("params") Map<String, Object> map, @Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize);

    long countCarsMileageWarnEnterprise(@Param("params")Map<String, Object> map);

    Map countCarsMileageWarnEnterpriseTab();
}